<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
          name="viewport">
    <meta content="ie=edge" http-equiv="X-UA-Compatible">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        body {
            background: #cbd5d8;
        }

        caption {
            background: #e9ecec;
            height: 80px;
            line-height: 80px;
        }

        #root {
            width: 1000px;
            margin: 0 auto;
        }

        table {
            border-collapse: collapse;
            background: #f2f2f2;
            margin: 0 auto;
        }

        #root td {
            width: 150px;
            height: 60px;
            border: 2px solid #cbd6d8;
            text-align: center;
        }

        #root tr td:nth-of-type(4) {
            background: rgba(190, 255, 0, 0.13);
        }

        .a > div {
            width: 140px;
            height: 16px;
            background: white;
            margin: 5px;
        }

        .a > div > div {
            width: 90%;
            height: 100%;
            background: linear-gradient(to right, #6d8920, #b1cb24);
        }

        #root .a2 {
            width: 40%;
            background: linear-gradient(to right, #5ba5cd, #aadbf8);
        }

        #root .a3 {
            width: 55%;
            background: linear-gradient(to right, #5ba5cd, #aadbf8);
        }

        #root .a4 {
            width: 20%;
            background: linear-gradient(to right, #fc9f2d, #fdc401);
        }

        #root .a5 {
            width: 15%;
            background: linear-gradient(to right, #fc9f2d, #fdc401);
        }

        .b {
            background: #e7e7e7;
        }

    </style>
</head>
<body>
<div id="root">
    <table>
        <caption><h1>国内IT培训机构排名</h1></caption>
        <tr>
            <td>名次</td>
            <td>机构</td>
            <td>社会调查好评度</td>
            <td>学员口碑星级</td>
            <td>项目领域</td>
            <td>项目级别</td>
        </tr>
        <tr class="b">
            <td>第一名</td>
            <td>千锋教育</td>
            <td>☆☆☆☆</td>
            <td>☆☆☆☆☆</td>
            <td class="a">
                <div>
                    <div></div>
                </div>
            </td>
            <td>中高端项目</td>
        </tr>
        <tr>
            <td>第二名</td>
            <td>达内</td>
            <td>☆</td>
            <td>☆☆</td>
            <td class="a">
                <div>
                    <div class="a2"></div>
                </div>
            </td>
            <td>中小型项目</td>
        </tr>
        <tr class="b">
            <td>第三名</td>
            <td>传智<br>黑马</td>
            <td>☆☆</td>
            <td>☆</td>
            <td class="a">
                <div>
                    <div class="a3"></div>
                </div>
            </td>
            <td>中小型项目</td>
        </tr>
        <tr>
            <td>第四名</td>
            <td>尚硅谷</td>
            <td>☆</td>
            <td>☆</td>
            <td class="a">
                <div>
                    <div class="a4"></div>
                </div>
            </td>
            <td>中小型项目</td>
        </tr>
        <tr class="b">
            <td>第五名</td>
            <td>尚学堂</td>
            <td>☆</td>
            <td>☆</td>
            <td class="a">
                <div>
                    <div class="a5"></div>
                </div>
            </td>
            <td>中小型项目</td>
        </tr>
    </table>
</div>
<script>
    console.log(6 / 3)
</script>
</body>
</html>